import { createRouter, createWebHashHistory } from 'vue-router'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            name:'Home',
            meta:{lebal:'Home'},
            component: () => import('../home.vue'),
            children : [
                {
                    path: '/',
                    name:'Nav1',
                    component: () => import('../Nav1.vue')
                },
                {
                    path: '/Nav2',
                    name:'Nav2',
                    component: () => import('../Nav2.vue')
                },
                {
                    path: '/Nav3',
                    name:'Nav3',
                    component: () => import('../Nav3.vue')
                },
                {
                    path: '/Nav4',
                    name:'Nav4',
                    component: () => import('../Nav4.vue')
                },
            ]
            
        },
    ]
})

export default router